Polaroid
How to use Handler UI - Detailed feature function
~Filling Queries~
Front Query:
Front query also known as
prefix is an input to append a
string in front of the Domain in
the URL requested to the
network.
ex:
FrontQuery@mini5.opera-
mini.net:80

Middle Query:
Middle query is an input to
append a string at the back of
the Domain in the URL
requested to the network.
ex:
http:// mini5.opera-
mini.net:80
@MiddleQuery

Back Query:
Back query also known as suffix
is an input to append a string at
the back of the URL requested
to the network.
ex:
http:// mini5.opera-
mini.net:80
?BackQuery

Remove String from URL (only
for HUI123):
A string that will be removed
from the URL.
ex:
global-4-lvs-seele.opera-
mini.net
Filter (only for HUI200):
Filter is an input to modify the
URL string requested to the
network, the format is:
DOMAIN
(
StringToBeReplaceOrMove
StringToBeReplaceOrMove1\Stri
ngToReplace StringToReplace1).
ex:
1.-URL: http://www.ucweb.com /test/
file.txt
-Filter:
www.ucweb.com
(test\coba)
Result: http://www.www.ucweb.com /coba/
file.txt
2.-URL: http://www.ucweb.com /test/
file.txt
-Filter:
*(st\)
Result: http://www.ucweb.com/te/
file.txt

Add Port to non-Port URL:
An input to append port of the
Domain in the URL requested to
the network. It will not effect on
url that already contain port.
ex:
URL:
http://www.ucweb.com/test/
file.txt
-Add Port to non-Port URL:
80
Result:
http://www.ucweb.com.net:80/
coba/file.txt
Remove Port: Checked
This is used to remove existing
port on the URL.
-Result: http://www.ucweb.com/
subpath/index.html
- Proxy Type: -http
-Proxy Server:
www.ucweb.com(free proxy site url)
-Result:
http://www.ucweb.com/subpath/
index.html
Extra Header added: X-Online-
Host: www.ucweb.com
Other Examples:
- Proxy Type: -host
- Proxy Server:
www.ucweb.com
- Result: http://www.ucweb.com/subpath/index.html
Extra Header added: X-Online-Host: www.ucweb.com
Username and Password:
Result: Extra Header added:
Proxy-Authorization
(for Proxy login, if empty, the
header will not be added)

Note: this will take effect only
on communication between the
app to the app Server.
Example on opera mini, if we
input to open a sites than the
url will not being modified,
because the url only a part of
the Communication Body.
Additional Info:
First of all, you need to check
that you’ve set the J2ME
permission for the application
(“User Data Access” / “Read
User Data” / “Write User Data”)
to “
Always Allowed” or “Ask
every time” or “Ask first time
only”. If you set it to “Not
Allowed”, than this feature will
not working at all.
The Key that can be use to
ScreenShot is Green Button (Call Button) and 9 (if the Option on
HandlerUI Checked).
ScreenShot Path
I’ve set the Default Saving path
of ScreenShot feature to “c:/
directory/”
,where this drive of path (c is
usually exist on cellphone. But
some cellphone has a different
path that is permitted to be
access. So, to make sure the
ScreenShot successful, try to get
information about the
permitted path to be written by
J2ME application. You may try
some java file browser
application such as
MiniCommander to well know
about your system.
New Thread on ScreenShot
J2ME application allow us to do
MultiThreading (maybe some
cellphone not support this
feature). where we can do
something while the other
thread will beA process in the
background. So, when this
Feature turn on, while we do
ScreenShot, the application will
not appear to be stopped, and
we can do other things, while in
the background the application
is saving the image from the
Screen.
Which PNG or JPEG is good to
be use?
It is depend on how you want
it. Both of the file format is very
usual to be used. But
currently,on the code that i
used, i will explain the
advantage and disadvantage of
them.
The PNG file format that i use, is
not compressed. So, the result
will be quite consume the
Memory. The advantage is, it
save more faster because it is
not through the compression
method.
The JPEG file format that i use, is
compressed. So, it will be more
efficient. The disadvantage is, it
save slower and consume more
RAM because it is through the
compression method.
For a large resolution Screen, I suggest you to use the JPEG file
format, for cellphones that has
small RAM/Java Heap, i suggest
you to use the PNG file format.
So, make your own choice.
Modified Some query (just
remove the spaces in the url's)...
Source: http://
www.ykhandler.com